<!--{template admin/header_tpl}-->

<div class="mainarea">
<div class="maininner">


	<div class="tabs_header">
		<ul class="tabs">
			<li><a href="{SITEURL}/admin/admin_pm/index"><span>系统消息管理 </span></a></li>
			<li><a href="{SITEURL}/admin/admin_pm/sendpm"><span>发送系统消息</span></a></li>
		</ul>
	</div>


<!--{if $list}-->

	<div class="bdrcontent">
	
	<form method="post" action="{SITEURL}admin/admin_pm/delete/">
	<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
	<input type="hidden" name="refer" value="<!--{eval echo 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'] }-->" />
		<table cellspacing="2" cellpadding="2" class="listtable">
		<tr class="line">
			<th width="5%">选择</th>
			<th width="10%">发件人</th>
			<th width="70%">标题</th>
			<th width="15%">时间</th>
		</tr>
		<!--{loop $list $key $value}-->
			<tr<!--{if $key%2==1}--> class="line"<!--{/if}-->>
				<td>
					<input type="checkbox" name="ids[]" value="$value[pmid]">
				</td>
				<td>
					<a href="{SITEURL}home/index/$value[msgfromid]" target="_blank">$value[msgfrom]</a>
				</td>
				<td>
					{$value[subject]}
				</td>
				<td>
					<!--{date('Y-m-d H:i', $value['dateline'])}--><br>
				</td>
			</tr>
		<!--{/loop}-->
		</table>
	</div>

	<div class="footactions">
		<input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">全选 &nbsp;&nbsp;
		<input type="submit" name="listsubmit" value="提交" class="submit">
		<div class="pages">$multi</div>
	</div>

	</form>
<!--{else}-->
	<div class="bdrcontent">
		<p>指定条件下还没有数据</p>
	</div>
<!--{/if}-->
</div>
</div>

<div class="side">
	<!--{template admin/side}-->
</div>

<!--{template admin/footer_tpl}-->